-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Improve useChainState
and standardize contract loading
#50
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
useChainState
and standardize contract loadinguseChainState
and standardize contract loading
@bowd made some slight changes to incorporate all contract addresses. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
I noticed contracts will be available in chain state store as well, but I guess it doesn't hurt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
It improves the chain state helper definition and loading and exposes a
useContracts
hook used throughout the app.The problem with this PR right now is that the addresses in the SDK are not the ones that are indexed in
The Graph
that is a separate deployment. I will migrate the indexers to this deployment as well.After I do that, however, we will have no test proposals because the ones that I created are on the other deployment.
We need a small script to seed the deployment with some test proposals that have votes.
Other changes
Tested
Related issues